package com.mrd.gtimpframe.repository;

import com.mrd.gtimpframe.entity.Company;

import java.util.List;
import java.util.Map;

public interface CompanyMapper {
    int deleteByPrimaryKey(String comId);

    int insert(Company record);

    int insertSelective(Company record);

    Company selectByPrimaryKey(String comId);

    List<Map<String, Object>> selectByPrimaryKeyIn(List<String> comId);

    int updateByPrimaryKeySelective(Company record);

    int updateByPrimaryKey(Company record);

    Company selectByUserId(String userId);

    Company selectSupplierByDecId(String did);
}
